package app.vendorportal.api.data.request;

import app.vendorportal.api.data.SSOAuthorizeUser;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Raymond
 * @version createTime：Apr 26, 2013 9:37:28 AM
 */
@XmlRootElement(name = "sso-authorize-request")
@XmlAccessorType(XmlAccessType.FIELD)
public class SSOAuthorizeRequest {

    @NotNull(message = " user is required")
    @XmlElement(name = "user")
    private SSOAuthorizeUser user;

    public SSOAuthorizeUser getUser() {
        return user;
    }

    public void setUser(SSOAuthorizeUser user) {
        this.user = user;
    }
}
